home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Sprite 1984 - 1993
/
Sprite 1984 - 1993.iso
/
man
/
lib.fmt
/
tclx
/
Keylist.man
< prev
next >
Wrap
Text File
|
1992-06-11
|
3KB
|
133 lines
Keyed UNKNOWN MANUAL SECTION Keyed
_________________________________________________________________
NNAAMMEE
Tcl_GetKeyedListField, Tcl_SetKeyedListField,
Tcl_DeleteKeyedListField - Keyed list management routines.
SSYYNNOOPPSSIISS
##iinncclluuddee <<ttccllEExxtteenndd..hh>>
int
TTccll__GGeettKKeeyyeeddLLiissttFFiieelldd (_i_n_t_e_r_p, _f_i_e_l_d_N_a_m_e, _k_e_y_e_d_L_i_s_t, _f_i_e_l_d_V_a_l_u_e_P_t_r);
char *
TTccll__SSeettKKeeyyeeddLLiissttFFiieelldd (_i_n_t_e_r_p, _f_i_e_l_d_N_a_m_e, _f_i_e_l_d_v_a_l_u_e, _k_e_y_e_d_L_i_s_t);
char *
TTccll__DDeelleetteeKKeeyyeeddLLiissttFFiieelldd (_i_n_t_e_r_p, _f_i_e_l_d_N_a_m_e, _k_e_y_e_d_L_i_s_t);
AARRGGUUMMEENNTTSS
Tcl_Interp *_i_n_t_e_r_p (in) Interpreter to use
for error report-
ing.
const char *_f_i_e_l_d_N_a_m_e (in) The name of the
field (the key) to
perform the opera-
tion on.
const char *_k_e_y_e_d_L_i_s_t (in) The keyed list to
perform the opera-
tion on.
char **_f_i_e_l_d_V_a_l_u_e_P_t_r (out) A pointer to a
dynamicly allocated
string containing
the field value is
returned here.
_________________________________________________________________
DDEESSCCRRIIPPTTIIOONN
These routines perform operations on keyed lists. See the
_E_x_t_e_n_d_e_d _T_c_l man page for a description of keyed lists.
TTccll__GGeettKKeeyyeeddLLiissttFFiieelldd retrieves a field value from a keyed
list. It returns TTCCLL__OOKK if the field was found, TTCCLL__BBRREEAAKK if
the field was not found and TTCCLL__EERRRROORR if an error occured.
NULL maybe specifled for _f_i_e_l_d_V_a_l_u_e_P_t_r to check for the
presences of a field without actually extracting the value.
TTccll__SSeettKKeeyyeeddLLiissttFFiieelldd sets a field value in keyed list. It
returns a pointer to a dynamically allocated string
Sprite v1.0 3 1
Keyed UNKNOWN MANUAL SECTION Keyed
containing the new list, or NULL if an error occured.
TTccll__DDeelleetteeKKeeyyeeddLLiissttFFiieelldd deletes a field from keyed list. It
returns a pointer to a dynamically allocated string contain-
ing the new list, or NULL if an error occured.
KKEEYYWWOORRDDSS
lists, keyed
Sprite v1.0 3 2